import Home from '../pages/home/index';
import ShoppingCricle from '../pages/ShoppingCircle/index';
import ShopCar from '../pages/shopCar/index';
import Mine from '../pages/mine/index';
import E404 from '../pages/E404/index';

const routes=[
    {
        path:'/home',
        component:Home,
        title:'首页',
        icon:'iconfont icon-shouye-shouye'
    },
    {
        path:'/shoppingCricle',
        component:ShoppingCricle,
        title:'购物圈子',
        icon:'iconfont icon-quanzi'
    },
    {
        path:'/shopCar',
        component:ShopCar,
        title:'购物车',
        icon:'iconfont icon-gouwuche'
    },
    {
        path:'/mine',
        component:Mine,
        title:'我的',
        icon:'iconfont icon-31wode'
    },
    {
        path:'/404',
        component:E404,
    },
    {
        from:"/",
        to:'/home'
    },
    {
        to:"/E404"
    }
]

export default routes;